package org.song.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.apache.ibatis.type.Alias;
import org.song.model.dto.common.BaseSearchDto;

import java.util.Date;


@ApiModel("博客访问记录")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@Alias(value = "ViewDto")
public class ViewDto extends BaseSearchDto {

    @ApiModelProperty(value = "博客ID" , notes = "博客ID")
    private Long blogId;

    @ApiModelProperty(value = "访问时间" , notes = "访问时间")
    private Date createTime;

    @ApiModelProperty(value = "访问者IP" , notes = "访问者IP")
    private String ip;
}
